package com.wing.area.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 区域表
 * </p>
 */
@TableName("sys_area")
public class Area extends Model<Area> implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 区域名称
	 */
	@TableField("areaname")
	private String areaname;

	/**
	 * 父级ID
	 */
	@TableField("parentid")
	private String parentid;

	/**
	 * 经度
	 */
	@TableField("lng")
	private String lng;

	/**
	 * 纬度
	 */
	@TableField("lat")
	private String lat;

	@TableField("qqlng")
	private String qqlng;

	@TableField("qqlat")
	private String qqlat;

	@TableField("level")
	private Integer level;

	@TableField("position")
	private String position;

	@TableField("sort")
	private Integer sort;

	@TableField("fullname")
	private String fullname;

	public Integer getId() {
		return id;
	}

	public String getAreaname() {
		return areaname;
	}

	public String getParentid() {
		return parentid;
	}

	public String getLng() {
		return lng;
	}

	public String getLat() {
		return lat;
	}

	public String getQqlng() {
		return qqlng;
	}

	public String getQqlat() {
		return qqlat;
	}

	public Integer getLevel() {
		return level;
	}

	public String getPosition() {
		return position;
	}

	public Integer getSort() {
		return sort;
	}

	public String getFullname() {
		return fullname;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid;
	}

	public void setLng(String lng) {
		this.lng = lng;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public void setQqlng(String qqlng) {
		this.qqlng = qqlng;
	}

	public void setQqlat(String qqlat) {
		this.qqlat = qqlat;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

}